/**
 * 入口函数必须返回3个生命周期函数,函数必须返回promise,所以用async
*/

let qingContainer = null
export async function bootstrap() {
  console.log("应用正在启动。。。");
}

export async function mount() {
  console.log("应用正在挂载。。。");
  qingContainer = document.createElement('div')
  qingContainer.id = "qingContainer"
  qingContainer.innerHTML = 'qing wahaha'
  document.body.appendChild(qingContainer)
}

export async function unmount() {
  console.log("应用正在卸载");
  document.body.removeChild(qingContainer)
}